package org.itboys.dto;

import java.util.ArrayList;
import java.util.List;

/**
 * 分类基本对象
 */
public class Category {

	private long id;//id
	private String name;//名称
	private String logo;//分类logo
	private boolean leaf;//是否叶子节点  只有叶子节点才能挂产品
	private String fullNamePath;//名称全路径
	private List<Category> children = new ArrayList<>();//孩子节点

	public List<Category> getChildren() {
		return children;
	}

	public void setChildren(List<Category> children) {
		this.children = children;
	}

	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getLogo() {
		return logo;
	}
	public void setLogo(String logo) {
		this.logo = logo;
	}
	public boolean isLeaf() {
		return leaf;
	}
	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}
	public String getFullNamePath() {
		return fullNamePath;
	}
	public void setFullNamePath(String fullNamePath) {
		this.fullNamePath = fullNamePath;
	}

}
